package cn.kgc.day03.mp.mapper;

import cn.kgc.day03.mp.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;

/**
* @author mengshun
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2024-05-29 11:01:58
* @Entity cn.kgc.day03.mp.entity.User
*/
@CacheNamespace  //  开启二级缓存
public interface UserMapper extends BaseMapper<User> {

    User  selectUserByUsername(String username);

}




